<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.carnation.utils.SessionInfo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
</head>
<body>
	<%SessionInfo sessionInfo = (SessionInfo)request.getSession().getAttribute("sessionInfo");
		String systype = (String)request.getSession().getAttribute("systype");
		if(sessionInfo != null){
			if(systype.equals("mgr")){
				request.getRequestDispatcher("/SecurityJsp/menuMgr.jsp").forward(request, response);
			}
			else if(systype.equals("down")){
				request.getRequestDispatcher("/SecurityJsp/downLoadMgr.jsp").forward(request, response);
			}
			else{
				request.getRequestDispatcher("/common/404.jsp").forward(request, response);
			}
		}
		else{
			request.getRequestDispatcher("/login.jsp").forward(request, response);
		}
	%>
</body>
</html>